Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 4305 - Added in_channel,out_channel,state params to listforwards #4349

Merged
merged 4 commits into from
Mar 2, 2021

Conversation

hosiawak
Copy link
Contributor

I've added in_channel,out_channel and state params to listforwards.

I also added an index to forwarded_payments.state to speed up lookups that use this column (eg. getinfo).

TODO:

  • tests (struggling with a broken Python atm)
  • docs

@rustyrussell
Copy link
Contributor

Yep, this is great! We generally dislike underscores in JSON parameters, but the JSON already outputs those names so consistency wins.

Tests would ofc be nice, so would docs ;)

@hosiawak
Copy link
Contributor Author

Added listforwards test and updated the docs.

@rustyrussell
Copy link
Contributor

rustyrussell commented Jan 29, 2021

Since we switched from (deprecated) Travis to GH actions, I will rebase this now...

@rustyrussell
Copy link
Contributor

Source checks (make check-source) failed because:

  1. wallet/wallet.c include files are not in alphabetical order for the first commit.
  2. The third commit has extraneous whitespace in the python.

Trivial to fix up though!

@rustyrussell
Copy link
Contributor

rustyrussell commented Feb 25, 2021

OK, due to lack of response, I rebased, fixed those check-source errors, and removed the accidental checkin of a binary.

And added Changelog-Added.

@hosiawak
Copy link
Contributor Author

Trivial to fix up though!

I read this and thought you were about to fix it up because it was trivial for you and then forgot about this issue. Sorry, guess I got lost in translation a little bit :)

I'll try to pay attention to such errors in my next PR. Navigating C and Python codebase is new water for me.

@rustyrussell
Copy link
Contributor

Had to do a trivial rebase again, since db files changed under us. This time for sure!

@rustyrussell
Copy link
Contributor

Ack 3b9f5f5

@rustyrussell rustyrussell merged commit bb48de4 into ElementsProject:master Mar 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants